﻿using UnityEngine;
using System.Collections;
namespace UI
{
    public class UIActivityEvent : MonoBehaviour
    {
        #region 关闭
        public void Closed()
        {
            GetComponent<UIActivity>().Close();
        }
        #endregion

        #region UIActivity 主页面
        /// <summary>
        /// 点击签到
        /// </summary>
        /// <param name="go"></param>
        public void OnClickEveryDaySign(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.EveryDaySign);
        }

        /// <summary>
        /// 充值送礼
        /// </summary>
        /// <param name="go"></param>
        public void OnClickRechargeSurprise(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.RechargeSurprise);
        }
        /// <summary>
        /// 亚丝娜厨房
        /// </summary>
        /// <param name="go"></param>
        public void OnClickAsunaKitchent(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.AsunaKitchen);
        }

        /// <summary>
        /// 首冲奖励
        /// </summary>
        /// <param name="go"></param>
        public void OnClickFirstRecharge(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.FirstRecharge);
        }
        /// <summary>
        /// 登录奖励
        /// </summary>
        /// <param name="go"></param>
        public void OnClickLoginAward(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.LoginAward);
        }
        /// <summary>
        /// 开服竞赛
        /// </summary>
        /// <param name="go"></param>
        public void OnClickOpenServerRace(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.OpenServerRace);
        }
        /// <summary>
        /// 月卡奖励
        /// </summary>
        /// <param name="go"></param>
        public void OnClickMonthCard(GameObject go) 
        {
            GetComponent<UIActivity>().Show(ActivityType.MonthCard);
        }

        public void OnClickVipBenefits(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.VIPBenefits);
        }

        public void OnClickBattleRace(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.BattleRace);
        }

        public void OnClickRobTrea(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.RobTrea);
        }

        public void OnClickPrizeTask(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.PrizeTask);
        }

        public void OnClickPrizeBoss(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.PrizeBoss);
        }

        public void OnClickMainCopy(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.MainCopy);
        }

        public void OnClickCostTotal(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.CostTotal);
        }

        public void OnClickRechargeTotal(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.RechargeTotal);
        }

        public void OnClickHalfDiscount(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.HalfDiscountSale);
        }

        public void OnClickDiscountSale(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.DiscountSale);
        }

        public void OnClickAincradStars(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.AincradStars);
        }

        public void OnClickBenefits(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.CopyBenefits);
        }

        public void OnClickOpenSeverMoney(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.OpenSeverMoney);
        }

        public void OnClickCongratulation(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.Congratulation);
        }

        public void OnClickOpenHappy(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.OpenHappy);
        }

        public void OnClickTimeLimitExchange(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.TimeLimitExchange);
        }

        public void OnClickTimeLimitSail(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.TimeLimitSail);
        }

        public void OnClickFestival(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.Festival);
        }

        public void OnClickUpdate(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.Update);
        }

        public void OnClickTreasureCast(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.fortuneCat);
        }

        public void OnClickContinueRechargeGift(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.continueRechargeGift);
        }
        public void OnClickWarriorRescruitTimes(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.WarriorRescruitTimes);
        }

        public void OnClickCollectionWarrior(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.CollectionWarrior);
        }

        public void OnClickWarriorWeightImprove(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.WarriorWeightImprove);
        }

        public void OnClickKaiGongActivity(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.KaiGongActivity);
        }

        public void OnClickRechangeDouble(GameObject go)
        {
            GetComponent<UIActivity>().Show(ActivityType.RechangeDouble);
        }
        #endregion
    }
}